﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="CollectionPager" Namespace="SiteUtils" TagPrefix="cc1" %>
   <asp:Content ID="Content3" ContentPlaceHolderID="TitleContent" runat="server">
<h2>Trang chủ</h2>
    </asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="toolbarContent" Runat="Server">
 <li><a class="btn-add iframe" data-dimension="800|200" href="Details.aspx?ac='them'">Thêm</a></li>
                                <li><a class="btn-edit iframe" data-dimension="800|200" href="Details.aspx?ac='sua'">Sửa</a></li>
                                <li><a class="btn-delete iframe" data-dimension="800|200" href="Details.aspx?ac='xoa'">Xóa</a></li>
                                <li><a class="btn-active iframe" data-dimension="800|200" href="add-units.htm">Kích hoạt</a></li>
                                <li><a class="btn-grant-unit iframe" data-dimension="800|200" href="add-units.htm">Gán đơn vị sử dụng</a></li>
                                <li><a class="btn-add-role iframe" data-dimension="800|200" href="add-units.htm">Gán nhóm quyền</a></li>

</asp:Content>
 
     <asp:Content ID="Content77" ContentPlaceHolderID="ContentHeader" runat="server">

      <table>
                <tr>
                    <th class="col50">STT</th>
                    <th class="col200">Tiêu đề</th>
                    <th class="col200">Đơn vị</th>
                    <th>Ngày</th>
                </tr>
                 </table>
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="bottomContent" Runat="Server">

    <asp:Repeater ID="rptA" runat="server">
        <HeaderTemplate>
            <table>
        </HeaderTemplate>
        <ItemTemplate>
         
            <tr id="<%#Eval("STT")%>">
                    <td class="col50"><%#Eval("STT")%></td>
                    <td class="col200"><%#Eval("TieuDE")%></td>
                    <td class="col200"><%#Eval("DV")%></td>
                    <td><%#Eval("Date")%></td>
                </tr>
                 
        </ItemTemplate>
       <FooterTemplate>
            </table>
       </FooterTemplate>
    </asp:Repeater>
                      

</asp:Content>

  <asp:Content ContentPlaceHolderID="pageContent" runat="server">

      <cc1:CollectionPager ID="CollectionPager1" runat="server"
            BackNextDisplay="HyperLinks" BackNextLinkSeparator="" 
            FirstText="" HideOnSinglePage="False" LastText="" 
            MaxPages="200" PageNumbersDisplay="Numbers" PageNumbersSeparator="&amp;nbsp;" 
            PageSize="3" PagingMode="QueryString" QueryStringKey="Page" 
            ShowFirstLast="False"  ShowLabel="False" ShowPageNumbers="True" BackText="Trang trước" 
            NextText="Trang tiếp" ResultsLocation="None" ResultsStyle="" LabelStyle="">
            </cc1:CollectionPager>

      <%--  </cc1:CollectionPager>
            <cc1:CollectionPager ID="CollectionPager1" runat="server" 
            BackNextDisplay="HyperLinks" BackNextLinkSeparator="" 
            FirstText="&lt;&lt; First" HideOnSingle Page="False" LastText="Last &gt;&gt;" 
            MaxPages="200" PageNumbersDisplay="Numbers" PageNumbersSeparator="&amp;nbsp;" 
            PageSize="5" PagingMode="QueryString" QueryStringKey="Page" 
            ShowFirstLast="True" ShowLabel="False" ShowPageNumbers="True" BackText="" 
            NextText="" ResultsLocation="None" ResultsStyle="" LabelStyle="">
        </cc1:CollectionPager>--%>
    </asp:Content>
